package com.woniuxy.happylife.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;


import javax.validation.constraints.NotNull;
import java.io.File;
import java.sql.Time;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.Map;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Suggests {

  private long suggestsId;
  @NotNull
  private long userId;
  private long type;
  @NotEmpty
  private String content;
  private long status;
  private String replyPeople;

  private Date submitTime;
  private Date finishTime;
  private User user;
  private String url;
  private String imageName;
  private Integer isDelete;








}
